<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>{$current['title']}-{$Think.CONFIG.sitename}</title>
    <link href="__PUBLIC__/static/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="__PUBLIC__/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/static/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/static/css/animate.min.css" rel="stylesheet">
    <include file="Public/commoncss" />

</head>

<body class="gray-bg top-navigation">
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom white-bg">
            <include file="Public/header" />
        </div>

        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-sm-3">
                    <div class="ibox float-e-margins">
                        <include file="Public/sidenav" />
                    </div>
                </div>
                <div class="col-sm-9 animated fadeInRight">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>操作信息</h5>
                            <div class="ibox-tools">
                                <a href="javascript:;" style="color:dodgerblue;" onclick="window.location.href='{:U('index')}'">
                                    <i class="fa fa-home"></i>返回上一页
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <div class="row">
                                <form action="" method="get">
                                    <div class="col-sm-9 m-b-xs">
                                        <div data-toggle="buttons" class="btn-group">
                                            <label class="btn btn-sm btn-white <if condition="$_GET['options'] eq 'day'"> active</if>">
                                                <input id="option1" name="options" type="radio" value="day" <if condition="$_GET['options'] eq 'day'"> checked</if>>天</label>
                                            <label class="btn btn-sm btn-white <if condition="$_GET['options'] eq 'week'"> active</if>">
                                                <input id="option2" name="options" type="radio" value="week" <if condition="$_GET['options'] eq 'week'"> checked</if>>周</label>
                                            <label class="btn btn-sm btn-white <if condition="$_GET['options'] eq 'month'"> active</if>">
                                                <input id="option3" name="options" type="radio" value="month" <if condition="$_GET['options'] eq 'month'"> checked</if>>月</label>
                                        </div>
                                    </div>

                                    <div class="col-sm-3">
                                        <div class="input-group">
                                            <input placeholder="搜索" class="input-sm form-control" type="text" name="keyword" value="{$_GET['keyword']}">
                                            <span class="input-group-btn">
                                            <button type="submit" class="btn btn-sm btn-primary">搜索</button> </span>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="table-responsive">
                                <table class="table table-striped">
                                    <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>用户名</th>
                                        <th>操作内容</th>
                                        <th>IP地址</th>
                                        <th>时间</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <volist name="list" id="vo" empty="系统君还未找到数据！">
                                        <tr>
                                            <td>{$i}</td>
                                            <td>{$vo.name}</td>
                                            <td>{$vo.log}</td>
                                            <td>{$vo.ip|errorIp=$vo['name']}</td>
                                            <td>{$vo.t|beenTime}</td>
                                        </tr>
                                    </volist>
                                    </tbody>
                                </table>
                            </div>
                            {$page}
                        </div>
                    </div>
                </div>

            </div>
        </div>

        <include file="Public/footer" />
    </div>
</div>
<include file="Public/commonjs" />
<script src="__PUBLIC__/static/js/bootstrap.min.js?v=3.3.5"></script>
<script src="__PUBLIC__/static/js/content.min.js?v=1.0.0"></script>
<script src="__PUBLIC__/static/js/plugins/iCheck/icheck.min.js"></script>
<script src="__PUBLIC__/static/js/plugins/prettyfile/bootstrap-prettyfile.js"></script>
<script>
    $(document).ready(function () {
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
        $('input[type="file"]').prettyFile();
    });
</script>

</body>

</html>